﻿//****************
// 'Write' Functions, for logging on screen
//****************
// Yep, these are lame and useless now that i'm using
// jquery, so i'll kill them off soon.


function write(message) {
  writeto('#messages', message);
}

function writeTop(message) {
  writeto('#topMessages', message);
}

function writeto(id, message) {
  $(id).append(message + '<br />');    
}

//overwrites the item (rather than appending the message)
function overwriteto(id, html) {
  $(id).html(html); 
}
